package com.example.parallelTemplate.commons.controller;

import com.example.parallelTemplate.commons.req.AppInfoReq;
import com.example.parallelTemplate.completionServiceImplement.appProcess.IAppHeadInfoService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping
public class AppHeadInfoController {

    @Resource
    private IAppHeadInfoService appHeadInfoService;

    //http://localhost:8080/appInfo
    @RequestMapping("appInfo")
    public String getAppHeadInfo() {
        // appHeadInfoService.queryAppHeadInfo(new AppInfoReq());
        // appHeadInfoService.parallelQueryAppHeadPageInfo1(new AppInfoReq());
        appHeadInfoService.parallelQueryAppHeadPageInfo2(new AppInfoReq());
        return "appInfo";
    }

}
